﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplicationExceptionHandling
{
    public class NotEnoughAmountException : Exception
    {
        public NotEnoughAmountException()
        {

        }

        public NotEnoughAmountException(string message) : base(message)
        {
            
        }

        public NotEnoughAmountException(string message, decimal missingAmount) : base(message)
        {
            MissingAmount = missingAmount;
        }

        public decimal MissingAmount { get; private set; }
    }
}
